package cn.lijigou.shopping.domain;
/**
 * 
 * @author zhaoqi
 *
 */
public class User {

		private String id;
		private String nickname;
		private String email;
		private String sessionKey;
		private String errorCode= "";
		private String isTmp= "";
		


	public String getIsTmp() {
			return isTmp;
		}


		public void setIsTmp(String isTmp) {
			this.isTmp = isTmp;
		}


	public String getErrorCode() {
			return errorCode;
		}


		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}


	public String getId() {
			return id;
		}


		public void setId(String id) {
			this.id = id;
		}


		public String getNickname() {
			return nickname;
		}


		public void setNickname(String nickname) {
			this.nickname = nickname;
		}


		public String getEmail() {
			return email;
		}


		public void setEmail(String email) {
			this.email = email;
		}

		public String getSessionKey() {
			return sessionKey;
		}


		public void setSessionKey(String sessionKey) {
			this.sessionKey = sessionKey;
		}


	public User(String id, String nickname,String sessionKey ,String errorCode ,String isTmp) {
			super();
			this.id = id;
			this.nickname = nickname;
			this.sessionKey = sessionKey;
			this.errorCode = errorCode;
			this.isTmp = isTmp;
		}
	public User(String errorCode) {
		super();
		this.errorCode = errorCode;
	}

	public User(String sessionKey ,String nickname, String id) {
		super();
		this.id = id;
		this.nickname = nickname;
		this.sessionKey = sessionKey;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", nickname=" + nickname + ", email="
				+ email + ", sessionKey=" + sessionKey+ "]";
	}
	
	
}